using System.Collections.Generic;
using Opc.Ua;

namespace HslCommunicationEx.OpcUa
{
	public class EventFieldConfigurationCollection : List<EventFieldConfiguration>
	{
		public SimpleAttributeOperandCollection ToSimpleAttributeOperandCollection()
		{
			SimpleAttributeOperandCollection simpleAttributeOperandCollection = new SimpleAttributeOperandCollection();
			foreach (EventFieldConfiguration item in this)
			{
				simpleAttributeOperandCollection.Add(item.ToSimpleAttributeOperand());
			}
			return simpleAttributeOperandCollection;
		}
	}
}
